<%-- 
    Document   : viewStudentProfile
    Created on : Sep 23, 2011, 5:41:20 PM
    Author     : clockbuilder
--%>


<%@page import="java.util.Date"%>
<%@page import="org.skuboard.model.Student"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>




<%//---Variable Declarations--%>
                
<%

Student studentDTO = (Student) request.getAttribute("studentDTO");
    String studentInfo = studentDTO.toString();

    String studentID = studentDTO.getId();
    String studentFirstName = studentDTO.getFirstName();
    String studentLastName = studentDTO.getlastName();
    String studentOtherNames = studentDTO.getOtherName();
    String studentAddress = studentDTO.getAddress();
    String studentClass = studentDTO.getClassLevel();
    Date studentDOB = studentDTO.getDateOfBirth();
    String studentEmail = studentDTO.getEMail();
    String studentFullName =
            studentLastName
            + ", "
            + studentFirstName
            + ", "
            + studentOtherNames;
%>


<h1>Student Profile: <%=studentFullName%></h1>
<i>
    <div style="font-size: medium;line-height: 150%;height: 150%">
        <%=studentInfo%>
    </div>
</i>
